package com.message.tcp.ip.ui.member.action;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import com.message.tcp.ip.ui.member.dialog.MemberAddDialog;
import com.message.tcp.ip.ui.member.dialog.MemberTable;

public class MemberMenuAddAction implements ActionListener {
	private MemberTable table;
	public MemberMenuAddAction(MemberTable table){
		this.table = table;
	}
	@Override
	public void actionPerformed(ActionEvent event) {
		MemberAddDialog memberAddDialog = new MemberAddDialog(table);
		memberAddDialog.setModal(true);
		memberAddDialog.setVisible(true);
	}

}
